package com.aegis.manage.api.request;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author wuweixin
 * 
 * @Version 1.0
 * @Descritube
 */
@Data
public class BindApiPermissionRequest {

    @NotBlank(message = "缺少权限组id")
    private String groupId;
    @NotEmpty(message = "接口不能为空")
    @Valid
    private List<PermissionTypeRequest> apiId;


}
